package com.cs543.j.client.cloudService;

public class RemoteClient extends Client{
	
	public static final String LOCAL_CLOUD_NAME = "Local Cloud Storage";
	
	private String url;
	
	public RemoteClient(String name, String url) {
		super(name);
		this.url = url;
	}

	@Override
	public boolean isLocalClient() {
		return false;
	}

	@Override
	public boolean isRemoteClient() {
		return true;
	}

	public String getUrl() {
		return url;
	}
	
	public static RemoteClient getLocalCloudClient()
	{
		return new RemoteClient(LOCAL_CLOUD_NAME, "localhost");
	}
}
